cmake_minimum_required(VERSION 2.8.4)

PROJECT(lua_test)

SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++0x -g -ggdb")

SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)

LINK_DIRECTORIES(thirdpart/lua-5.3.4/lib)

INCLUDE_DIRECTORIES(thirdpart/lua-5.3.4/include)

ADD_SUBDIRECTORY(lua_test)
ADD_SUBDIRECTORY(mylib)
